Static Public Attributes |
| tuple | user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False) |
| tuple | challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False) |
| tuple | user = relationship('User', lazy='joined') |
| tuple | challenge = relationship('Challenge', lazy='joined') |
| tuple | id = Column(Integer(unsigned=True), primary_key=True) |
| tuple | notification_type_id |
| tuple | created_at = Column(DateTime, nullable=False, default=current_timestamp) |
| tuple | users |
| tuple | query = DBSession.query_property() |
| list | index_fields = [] |
Static Private Attributes |
| string | __tablename__ = 'requested_challenge_notifications' |
| dictionary | __mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('requested_challenge') + 1} |
Detailed Description
Definition at line 45 of file notification.py.
Member Function Documentation
| def wowf.models.notification.RequestedChallengeNotification.message |
( |
|
self | ) |
|
Member Data Documentation
| dictionary wowf.models.notification.RequestedChallengeNotification.__mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('requested_challenge') + 1} |
|
staticprivate |
| string wowf.models.notification.RequestedChallengeNotification.__tablename__ = 'requested_challenge_notifications' |
|
staticprivate |
| tuple wowf.models.notification.RequestedChallengeNotification.challenge = relationship('Challenge', lazy='joined') |
|
static |
| tuple wowf.models.notification.RequestedChallengeNotification.challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False) |
|
static |
| tuple wowf.models.notification.RequestedChallengeNotification.user = relationship('User', lazy='joined') |
|
static |
| tuple wowf.models.notification.RequestedChallengeNotification.user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False) |
|
static |
The documentation for this class was generated from the following file: